import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入axios、element-ui  
import http from './http/http'
import * as mySession from './http/public'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//
Vue.config.productionTip = false
// 给原型对象添加方法
Vue.prototype.$axios = http
Vue.prototype.$setSession = mySession.setSession
Vue.prototype.$getSession = mySession.getSession
//
Vue.use(ElementUI)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
